#include <stdio.h>
#define N 12
#define M 10
void main()
{
    char str[N][M]={"January","February","March","April","May","June","July","August","September","October","November","December"};
    char *pstr[N];
    int i,n;
    for(i=0;i<12;i++)
    {
        pstr[i]=str[i];
    }
    printf("please input a month in number:");
    scanf("%d",&n);
    if(n<=12&&n>=1)
    {
        printf("the month you input is %s",pstr[n-1]);
    }
    else
        printf("Illegal month.");
}
